package cn.tedu.csms.shop.mapper;

import cn.tedu.csms.shop.pojo.dto.ShopQuery;
import cn.tedu.csms.shop.pojo.dto.ShopSaveParam;
import cn.tedu.csms.shop.pojo.entity.Shop;
import cn.tedu.csms.shop.pojo.vo.ShopVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShopMapper {
    List<ShopVO> selectByName(String shopName);

    void updateById(Shop shop);

    void insert(Shop shop);

    void deleteById(Long id);

    List<ShopVO> selectShops(ShopQuery shopQuery);
}
